def formatY(y:list):
    if len(y)==0:
        return 'NoAnswer'
    else:
        ret = ''
        for i in y:
            ret += ''.join(i) + '。'
        return ret

def formatYList(Ylist:list, savePath:str):
    f = open(savePath, 'w+',encoding='utf-8')
    ret = ''
    for y in Ylist:
        ret += '0\t'+y+'\n'
    f.write(ret)
